{include file="comm/left"}
<body>
<div class="col-sm-6">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>修改商品分类</h5>
            <div class="ibox-tools">
                <a class="collapse-link">
                    <i class="fa fa-chevron-up"></i>
                </a>
            </div>
        </div>
        <div class="ibox-content">
            <form class="form-horizontal m-t" id="commentForm" action="" method="post" >
                <div class="form-group">
                    <label class="col-sm-3 control-label">商品名：</label>
                    <div class="col-sm-8">
                        <input id="cname" name="name" minlength="2" type="text" class="form-control" required="" aria-required="true" value="{$data.name}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">商品序号：</label>
                    <div class="col-sm-8">
                        <input id="cname" name="sort" minlength="1" type="text" class="form-control" required="" aria-required="true" value="{$data.sort}">
                    </div>
                </div>
                <input type="hidden" name="id" value="{$data.id}">
                <div class="form-group">
                    <div class="col-sm-4 col-sm-offset-3">
                        <button class="btn btn-primary" type="submit" name="submit">修改</button>
                    </div>
                </div>
            </form>
        </div>
    </div >
</div>
</body>